Release 10.1A: OpenEdge Getting Started:
Database Essentials


Indexes

An index in a database operates like the index tab on a file folder. It points out one identifying column, such as a customer’s name, that makes it easier and faster to find the information you want.

When you use index tabs in a file folder, you use those pieces of information to organize your files. If you index by customer name, you organize your files alphabetically. If you index by customer number, you organize them numerically. Indexes in the database serve the same purpose.

You can use a single column to define a simple index, or a combination of columns to define a compound index. To decide which columns to use, you determine how the data in the table will be accessed. If users frequently look up customers by last name, then the last name is a candidate for an index. It is typical to base indexes on primary keys (columns that contain unique information).

An index has these advantages:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095